package orgcxmzxy.xyj;

public class animal {
    public static void main(String[] args){
        Pet pet1 = new Pet();
        pet1.setType("泰迪犬");
        pet1.setAge(2);
        pet1.setVaccinum(true);
        pet1.print();
        pet1.healthStatus();
        Pet pet2 = new Pet();
        pet2.setType("狸花猫");
        pet2.setAge(3);
        pet2.setVaccinum(false);
        pet2.print();
        pet2.healthStatus();
    }
}
